package library.IF;

import java.io.Serializable;

/**
 * The Class BookDAO.
 * 
 * @author Matthijs Steen
 */
public class BookDAO implements Serializable
{
	private static final long serialVersionUID = 1L;

	/** The title. */
	private String title = null;
	
	/** The lend to. */
	private String lendTo = null;
	
	/** Default constructor */
	public BookDAO() {
		
	}
	
	/**
	 * Instantiates a new book dao.
	 * 
	 * @param title the title
	 * @param lendTo the lend to
	 */
	public BookDAO(String title, String lendTo)
	{
		this.title = title;
		
		this.lendTo = lendTo;
	}
	
	/**
	 * Gets the title.
	 * 
	 * @return the title
	 */
	public String getTitle()
	{
		return title;
	}

	/**
	 * Gets the lend to.
	 * 
	 * @return the lend to
	 */
	public String getLendTo()
	{
		return lendTo;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public void setLendTo(String lendTo) {
		this.lendTo = lendTo;
	}
}
